var OxO1af2=["outer","btnbrowse","inp_src","onclick","value","cssText","style","src","FileName"];var outer=Window_GetElement(window,OxO1af2[0],true);var btnbrowse=Window_GetElement(window,OxO1af2[1],true);var inp_src=Window_GetElement(window,OxO1af2[2],true);btnbrowse[OxO1af2[3]]=function btnbrowse_onclick(){function Ox35c(Ox13e){if(Ox13e){inp_src[OxO1af2[4]]=Ox13e;} ;} ;editor.SetNextDialogWindow(window);editor.ShowSelectFileDialog(Ox35c,inp_src.value);} ;UpdateState=function UpdateState_Media(){outer[OxO1af2[6]][OxO1af2[5]]=element[OxO1af2[6]][OxO1af2[5]];outer.mergeAttributes(element);if(element[OxO1af2[7]]){outer[OxO1af2[8]]=element[OxO1af2[8]];} else {outer.removeAttribute(OxO1af2[8]);} ;} ;SyncToView=function SyncToView_Media(){inp_src[OxO1af2[4]]=element[OxO1af2[8]];} ;SyncTo=function SyncTo_Media(element){element[OxO1af2[8]]=inp_src[OxO1af2[4]];} ;